﻿<div id="header">
	<div class="wrap">
		<div class="h-logo">
			<a href="/"></a>
		</div>
		<ul class="h-menu">
			<li><a href="http://www.wanpijie.com/MyBaby/Index.aspx"><span class="h-c">
				<img src="http://static.wanpijie.com/images/icon-1.png" alt="" /></span> 我的宝宝</a></li>
			<li><a href="/MyBaby/Index.aspx"><span class="h-c">
				<img src="http://static.wanpijie.com/images/icon-2.png" alt="" /></span> 发现喜欢</a></li>
		</ul>
		<div class="status link">
			<ul>
				<script type="text/javascript">
					if (!Users.User.isLogged()) {
						document.write('<li><a href="' + Users.User.loginUrl + '">登录</a></li>');
						document.write('<li><a href="' + Users.User.registerUrl + '">注册</a></li>');
					}
					else {
						document.write('<li><a href="http://account.wanpijie.com/My">' + Users.User.nickname() + '，你好！</a></li>');
						document.write('<li><a href="' + Users.User.logoutUrl + '">退出</a></li>')
					};
				</script>
			</ul>
		</div>
	</div>
</div>
